//
//  EpointPadNavCell.m
//  EpointFrame5
//
//  Created by wangzhigang on 14-2-8.
//  Copyright (c) 2014年 Epoint. All rights reserved.
//

#import "EpointPadNavCell.h"

@implementation EpointPadNavCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)setHighlighted:(BOOL)highlighted animated:(BOOL)animated {
    [super setSelected:highlighted animated:animated];
    if (highlighted) {
        if (ISIOS7) {
        self.navItemTips.textColor = [UIColor whiteColor];
            self.navItemTips.backgroundColor = [UIColor whiteColor];
            self.navItemTips.textColor = MailCtrlColorGray;
        } else {
            self.navItemTips.textColor = [UIColor whiteColor];
            self.navItemTips.backgroundColor = [UIColor whiteColor];
            self.navItemTips.textColor = MailCtrlColorBlue;
        }
    } else {
        self.navItemTips.textColor = [UIColor blackColor];
        self.navItemTips.backgroundColor = [UIColor darkGrayColor];
        self.navItemTips.textColor = [UIColor whiteColor];
    }
}

@end
